package com.ztk.threadbasic.enums;

public enum ExcelEnum {

    OK(200, "成功"),
    FILE_EMPTY(2001, "文件无内容"),
    DOWANLOAD_EMPTY(2002, "下载无数据"),
    PARSE_FAILURE(4001, "文件解析失败"),
    DOWNLOAD_FAILURE(4002, "下载失败"),
    DOWNLOAD_TEMPLATE_EMPTY(4003, "下载模板为空");

    ExcelEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
